<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSACenc/src/sacenc_staticgain.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_ed75a839b58170b815c1b40eebfb7741.html">libSACenc</a></li><li class="navelem"><a class="el" href="dir_4edbbd6698e456aee57bd20fe4e3578d.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">sacenc_staticgain.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;common_fix.h&quot;</code><br />
<code>#include &quot;<a class="el" href="sacenc__lib_8h_source.html">sacenc_lib.h</a>&quot;</code><br />
<code>#include &quot;sacenc_const.h&quot;</code><br />
<code>#include &quot;sacenc_bitstream.h&quot;</code><br />
</div>
<p><a href="sacenc__staticgain_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">STATIC_GAIN_CONFIG</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2a7f0bad02e3f90aa8d8558874e0687e"><td class="memItemLeft" align="right" valign="top"><a id="a2a7f0bad02e3f90aa8d8558874e0687e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>FIXP_GAIN</b>&#160;&#160;&#160;FIXP_DBL</td></tr>
<tr class="separator:a2a7f0bad02e3f90aa8d8558874e0687e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ac0297c3a6b9e09dc80270907f46bf"><td class="memItemLeft" align="right" valign="top"><a id="a39ac0297c3a6b9e09dc80270907f46bf"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MAXVAL_GAIN</b>&#160;&#160;&#160;((FIXP_DBL)MAXVAL_DBL)</td></tr>
<tr class="separator:a39ac0297c3a6b9e09dc80270907f46bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a1d99192f48a6f01011ecb1cc2c67c2cb"><td class="memItemLeft" align="right" valign="top"><a id="a1d99192f48a6f01011ecb1cc2c67c2cb"></a>
typedef struct <a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">STATIC_GAIN_CONFIG</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>HANDLE_STATIC_GAIN_CONFIG</b></td></tr>
<tr class="separator:a1d99192f48a6f01011ecb1cc2c67c2cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8776e0b6d9ab5b60774365816e6d62d8"><td class="memItemLeft" align="right" valign="top"><a id="a8776e0b6d9ab5b60774365816e6d62d8"></a>
typedef struct <a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">STATIC_GAIN</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>HANDLE_STATIC_GAIN</b></td></tr>
<tr class="separator:a8776e0b6d9ab5b60774365816e6d62d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4476cc229872ebb86978d598fdd0b54f"><td class="memItemLeft" align="right" valign="top"><a id="a4476cc229872ebb86978d598fdd0b54f"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_OpenConfig</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> *phStaticGainConfig)</td></tr>
<tr class="separator:a4476cc229872ebb86978d598fdd0b54f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a532c75e902fa0e2e5da9dba880671d59"><td class="memItemLeft" align="right" valign="top"><a id="a532c75e902fa0e2e5da9dba880671d59"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_InitDefaultConfig</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> hStaticGainConfig)</td></tr>
<tr class="separator:a532c75e902fa0e2e5da9dba880671d59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4939778395eba8e2f1d324e9798e3095"><td class="memItemLeft" align="right" valign="top"><a id="a4939778395eba8e2f1d324e9798e3095"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_CloseConfig</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> *phStaticGainConfig)</td></tr>
<tr class="separator:a4939778395eba8e2f1d324e9798e3095"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f90542b09dcd90c04231f64a1ce6464"><td class="memItemLeft" align="right" valign="top"><a id="a6f90542b09dcd90c04231f64a1ce6464"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_Open</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> *phStaticGain)</td></tr>
<tr class="separator:a6f90542b09dcd90c04231f64a1ce6464"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed168ca2e019fcae247d87c560990817"><td class="memItemLeft" align="right" valign="top"><a id="aed168ca2e019fcae247d87c560990817"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_Init</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> hStaticGain, const <a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> hStaticGainConfig, <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> *const scale)</td></tr>
<tr class="separator:aed168ca2e019fcae247d87c560990817"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83a346bd01d645ad28bf0785445a81f7"><td class="memItemLeft" align="right" valign="top"><a id="a83a346bd01d645ad28bf0785445a81f7"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_Close</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> *phStaticGain)</td></tr>
<tr class="separator:a83a346bd01d645ad28bf0785445a81f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40803673b71957789cca4224d1868d22"><td class="memItemLeft" align="right" valign="top"><a id="a40803673b71957789cca4224d1868d22"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticPostGain_ApplyFDK</b> (const <a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> hStaticGain, <a class="el" href="machine__type_8h.html#ac024ad9a1e48a3e87d360d519d943512">INT_PCM</a> *const pOutputSamples, const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> nOutputSamples, const <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> scale)</td></tr>
<tr class="separator:a40803673b71957789cca4224d1868d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac678ae2e0fccd94f64d03a2d3180b8b3"><td class="memItemLeft" align="right" valign="top"><a id="ac678ae2e0fccd94f64d03a2d3180b8b3"></a>
FIXP_GAIN *&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_getPreGainPtrFDK</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> hStaticGain)</td></tr>
<tr class="separator:ac678ae2e0fccd94f64d03a2d3180b8b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b94aaeb3b2fb9bc2924452e4d77bed"><td class="memItemLeft" align="right" valign="top"><a id="ac7b94aaeb3b2fb9bc2924452e4d77bed"></a>
FIXP_GAIN&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_getPostGainFDK</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> hStaticGain)</td></tr>
<tr class="separator:ac7b94aaeb3b2fb9bc2924452e4d77bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f3c6e6c98cbd6a5917b10ead2ce7bea"><td class="memItemLeft" align="right" valign="top"><a id="a1f3c6e6c98cbd6a5917b10ead2ce7bea"></a>
FIXEDGAINDMXCONFIG&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_GetDmxGain</b> (const <a class="el" href="struct_s_t_a_t_i_c___g_a_i_n.html">HANDLE_STATIC_GAIN</a> hStaticGain)</td></tr>
<tr class="separator:a1f3c6e6c98cbd6a5917b10ead2ce7bea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d5d2afc27d25d9bc7effdd22c99d5fc"><td class="memItemLeft" align="right" valign="top"><a id="a0d5d2afc27d25d9bc7effdd22c99d5fc"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_SetDmxGain</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> hStaticGainCfg, const MP4SPACEENC_DMX_GAIN dmxGain)</td></tr>
<tr class="separator:a0d5d2afc27d25d9bc7effdd22c99d5fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f43b8d1c8e320a8a6a16f6086ef0bf5"><td class="memItemLeft" align="right" valign="top"><a id="a0f43b8d1c8e320a8a6a16f6086ef0bf5"></a>
<a class="el" href="sacenc__lib_8h.html#a694d151f9a1374f351bfc14a9190c065">FDK_SACENC_ERROR</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fdk_sacenc_staticGain_SetEncMode</b> (<a class="el" href="struct_s_t_a_t_i_c___g_a_i_n___c_o_n_f_i_g.html">HANDLE_STATIC_GAIN_CONFIG</a> hStaticGainCfg, const MP4SPACEENC_MODE encMode)</td></tr>
<tr class="separator:a0f43b8d1c8e320a8a6a16f6086ef0bf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
